FLTK logo

Re: [fltk.coredev] Missing library on windows 10 + msys2 (libwinspool.a)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Missing library on windows 10 + msys2 (libwinspool.a) "'Albrecht Schlosser' via fltk.coredev" 11:45 May 09  
 
On 5/9/24 19:17 gnuwimp wrote:
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x31):
undefined reference to `OpenPrinterA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0xb4):
undefined reference to `DocumentPropertiesA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x107):
undefined reference to `DocumentPropertiesA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x113):
undefined reference to `ClosePrinter'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x2d6):
undefined reference to `ClosePrinter'

They might have been added in commit 9472ff546cc0b4150d4dec89b48b3e4814b421f6.

fltk: ffd06dd9ebbc84aad88bfa9cdceab228abd038d7
gcc version 13.2.0 (Rev6, Built by MSYS2 project)
./configure --enable-use_std --prefix=/usr/local

Thanks for the report. This is something Manolo might be able to fix.

One other thing, if fluid is disabled it failes in test/ directory.
./configure --enable-use_std --disable-fluid --prefix=/usr/local

[...]
Compiling ../fluid/fluid.cxx...
g++ -I..     -O3 -Wall -Wunused -Wno-format-y2k  -fno-exceptions
-fno-strict-aliasing -ffunction-sections -fdata-sections
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE     -c ../fluid/fluid.cxx -o
../fluid/fluid.o
echo Linking ../fluid/fluid.exe...
Linking ../fluid/fluid.exe...

Okay, this looks weird. If fluid is disabled by configure it shouldn't
be built at all. There are obviously dependencies on fluid in the test
folder (see test/*.fl) which require building and using fluid (at least
on a clean system that doesn't have `fluid` already installed).

@Manolo: I repopened GitHub Issue #725: please check if you can fix it
by using one of the three methods I posted there. TIA.
https://github.com/fltk/fltk/issues/725

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/039ce6f3-c061-4659-b7fd-da167021f0de%40aljus.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.